package net.betou.cms.dao.main.impl;

import net.betou.cms.dao.main.CmsConfigDao;
import net.betou.cms.entity.main.CmsConfig;
import net.betou.common.hibernate3.HibernateBaseDao;

import org.springframework.stereotype.Repository;

@Repository
public class CmsConfigDaoImpl extends HibernateBaseDao< CmsConfig, Integer > implements CmsConfigDao{
	public CmsConfig findById( Integer id ) {
		CmsConfig entity = get( id );
		return entity;
	}

	@Override
	protected Class< CmsConfig > getEntityClass( ) {
		return CmsConfig.class;
	}
}